package com.zy.datareceiver.binsess.status.entity;


import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

@Table(name = "passageway")
public class Passageway {

  @Id
  private Integer id;
  @Column(name = "passageway_name")
  private String passagewayName;//通道名称
  private Short status;//状态(0是断开，1是连接)
  private Short type;//链接类型，0为socket，1为access，2为http
  @Column(name = "operate_time")
  private String operateTime;

  public Integer getId() {
    return id;
  }

  public void setId(Integer id) {
    this.id = id;
  }

  public String getPassagewayName() {
    return passagewayName;
  }

  public void setPassagewayName(String passagewayName) {
    this.passagewayName = passagewayName;
  }

  public Short getStatus() {
    return status;
  }

  public void setStatus(Short status) {
    this.status = status;
  }

  public Short getType() {
    return type;
  }

  public void setType(Short type) {
    this.type = type;
  }

  public String getOperateTime() {
    return operateTime;
  }

  public void setOperateTime(String operateTime) {
    this.operateTime = operateTime;
  }
}
